/* var a =1
function foo(){
    var a = 2
    console.log(a)
}

foo() */
function foo(){
    var a=1

}
foo()
let a=1
console.log(a);